<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>shark::ErrorFunction&lt; SearchPointType &gt; Class Template Reference</title>
<script type="text/javaScript" src="search/search.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js"></script>
<script src="../../mlstyle.js"></script>
<link href="../css/besser.css" rel="stylesheet" type="text/css"/>
</head>
<!-- pretty cool: each body gets an id tag which is the basename of the web page  -->
<!--              and allows for page-specific CSS. this is client-side scripted, -->
<!--              so the id will not yet show up in the served source code -->
<script type="text/javascript">
    jQuery(document).ready(function () {
        var url = jQuery(location).attr('href');
        var pname = url.substr(url.lastIndexOf("/")+1, url.lastIndexOf(".")-url.lastIndexOf("/")-1);
        jQuery('#this_url').html('<strong>' + pname + '</strong>');
        jQuery('body').attr('id', pname);
    });
</script>
<body>
    <div id="shark_old">
        <div id="wrap">
            <div id="header">
                <div id="site-name"><a href="../../sphinx_pages/build/html/index.html">Shark machine learning library</a></div>
                <ul id="nav">
                    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/installation.html">Installation</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/tutorials/tutorials.html">Tutorials</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/benchmark.html">Benchmarks</a>
                    </li>
                    <li class="active">
                        <a href="classes.html">Documentation</a>
                        <ul>
                            <li class="first"></li>
                            <li><a href="../../sphinx_pages/build/html/rest_sources/quickref/quickref.html">Quick references</a></li>
                            <li><a href="classes.html">Class list</a></li>
                            <li class="last"><a href="group__shark__globals.html">Global functions</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
<div id="doxywrapper">
<!--
    <div id="global_doxytitle">Doxygen<br>Documentation:</div>
-->
    <div id="navrow_wrapper">
<!-- Generated by Doxygen 1.9.8 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceshark.html">shark</a></li><li class="navelem"><a class="el" href="classshark_1_1_error_function.html">ErrorFunction</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="classshark_1_1_error_function-members.html">List of all members</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle"><div class="title">shark::ErrorFunction&lt; SearchPointType &gt; Class Template Reference<div class="ingroups"><a class="el" href="group__objfunctions.html">Objective functions</a></div></div></div>
</div><!--header-->
<div class="contents">

<p>Objective function for supervised learning.  
 <a href="classshark_1_1_error_function.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_error_function_8h_source.html">shark/ObjectiveFunctions/ErrorFunction.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for shark::ErrorFunction&lt; SearchPointType &gt;:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classshark_1_1_error_function__inherit__graph.png" border="0" usemap="#ashark_1_1_error_function_3_01_search_point_type_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="ashark_1_1_error_function_3_01_search_point_type_01_4_inherit__map" id="ashark_1_1_error_function_3_01_search_point_type_01_4_inherit__map">
<area shape="rect" title="Objective function for supervised learning." alt="" coords="37,94,181,135"/>
<area shape="rect" href="classshark_1_1_abstract_objective_function.html" title="Super class of all objective functions for optimization and learning." alt="" coords="5,5,213,46"/>
<area shape="poly" title=" " alt="" coords="112,62,112,94,106,94,106,62"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a3c50a0db21038a95f674d5f173806a8a" id="r_a3c50a0db21038a95f674d5f173806a8a"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_abstract_objective_function.html#a70f0672a3c3b24c437c81243624b5307">FunctionType::ResultType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_error_function.html#a3c50a0db21038a95f674d5f173806a8a">ResultType</a></td></tr>
<tr class="separator:a3c50a0db21038a95f674d5f173806a8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2e6af74d458dbac22f0b2fad6fadc4b" id="r_ab2e6af74d458dbac22f0b2fad6fadc4b"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_abstract_objective_function.html#a29804371954a360f09696adea7cfd839">FunctionType::FirstOrderDerivative</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_error_function.html#ab2e6af74d458dbac22f0b2fad6fadc4b">FirstOrderDerivative</a></td></tr>
<tr class="separator:ab2e6af74d458dbac22f0b2fad6fadc4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classshark_1_1_abstract_objective_function"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classshark_1_1_abstract_objective_function')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classshark_1_1_abstract_objective_function.html">shark::AbstractObjectiveFunction&lt; PointType, ResultT &gt;</a></td></tr>
<tr class="memitem:aadafeb6dfb5b649f321e7b81ac8aad1a inherit pub_types_classshark_1_1_abstract_objective_function" id="r_aadafeb6dfb5b649f321e7b81ac8aad1a"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#aadafeb6dfb5b649f321e7b81ac8aad1a">Feature</a> { <br />
&#160;&#160;<a class="el" href="classshark_1_1_abstract_objective_function.html#aadafeb6dfb5b649f321e7b81ac8aad1aad3475b458576c8760f28d8d81f4eda86">HAS_VALUE</a> = 1
, <a class="el" href="classshark_1_1_abstract_objective_function.html#aadafeb6dfb5b649f321e7b81ac8aad1aa0bc7673a369df5f86ddd6ba6735f4971">HAS_FIRST_DERIVATIVE</a> = 2
, <a class="el" href="classshark_1_1_abstract_objective_function.html#aadafeb6dfb5b649f321e7b81ac8aad1aa2a3534a8bfd17ffc9f39a2892dc03858">HAS_SECOND_DERIVATIVE</a> = 4
, <a class="el" href="classshark_1_1_abstract_objective_function.html#aadafeb6dfb5b649f321e7b81ac8aad1aab9262b57bb302f04b2561666a9068446">CAN_PROPOSE_STARTING_POINT</a> = 8
, <br />
&#160;&#160;<a class="el" href="classshark_1_1_abstract_objective_function.html#aadafeb6dfb5b649f321e7b81ac8aad1aa0574c1ccb7c3791cc09bae4a7198429a">IS_CONSTRAINED_FEATURE</a> = 16
, <a class="el" href="classshark_1_1_abstract_objective_function.html#aadafeb6dfb5b649f321e7b81ac8aad1aa7decd0dc83d8de4fcec02d4e27251dd5">HAS_CONSTRAINT_HANDLER</a> = 32
, <a class="el" href="classshark_1_1_abstract_objective_function.html#aadafeb6dfb5b649f321e7b81ac8aad1aa15247e91dcbcdf3fa7061f2ee70cf129">CAN_PROVIDE_CLOSEST_FEASIBLE</a> = 64
, <a class="el" href="classshark_1_1_abstract_objective_function.html#aadafeb6dfb5b649f321e7b81ac8aad1aa155aa01439b358ce00e8cfb9f377fb5f">IS_THREAD_SAFE</a> = 128
, <br />
&#160;&#160;<a class="el" href="classshark_1_1_abstract_objective_function.html#aadafeb6dfb5b649f321e7b81ac8aad1aa9022946d8a121d3e6c820f58d8cd3d87">IS_NOISY</a> = 256
<br />
 }</td></tr>
<tr class="memdesc:aadafeb6dfb5b649f321e7b81ac8aad1a"><td class="mdescLeft">&#160;</td><td class="mdescRight">List of features that are supported by an implementation.  <a href="classshark_1_1_abstract_objective_function.html#aadafeb6dfb5b649f321e7b81ac8aad1a">More...</a><br /></td></tr>
<tr class="separator:aadafeb6dfb5b649f321e7b81ac8aad1a inherit pub_types_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59bfea031628e16737c66e7117eba7b5 inherit pub_types_classshark_1_1_abstract_objective_function" id="r_a59bfea031628e16737c66e7117eba7b5"><td class="memItemLeft" align="right" valign="top">typedef PointType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a></td></tr>
<tr class="separator:a59bfea031628e16737c66e7117eba7b5 inherit pub_types_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70f0672a3c3b24c437c81243624b5307 inherit pub_types_classshark_1_1_abstract_objective_function" id="r_a70f0672a3c3b24c437c81243624b5307"><td class="memItemLeft" align="right" valign="top">typedef ResultT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a70f0672a3c3b24c437c81243624b5307">ResultType</a></td></tr>
<tr class="separator:a70f0672a3c3b24c437c81243624b5307 inherit pub_types_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29804371954a360f09696adea7cfd839 inherit pub_types_classshark_1_1_abstract_objective_function" id="r_a29804371954a360f09696adea7cfd839"><td class="memItemLeft" align="right" valign="top">typedef boost::mpl::if_&lt; std::is_arithmetic&lt; ResultT &gt;, <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a>, RealMatrix &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a29804371954a360f09696adea7cfd839">FirstOrderDerivative</a></td></tr>
<tr class="separator:a29804371954a360f09696adea7cfd839 inherit pub_types_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a015ecb970cd0f5dac73e727fdcc0afec inherit pub_types_classshark_1_1_abstract_objective_function" id="r_a015ecb970cd0f5dac73e727fdcc0afec"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_typed_flags.html">TypedFlags</a>&lt; <a class="el" href="classshark_1_1_abstract_objective_function.html#aadafeb6dfb5b649f321e7b81ac8aad1a">Feature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a015ecb970cd0f5dac73e727fdcc0afec">Features</a></td></tr>
<tr class="memdesc:a015ecb970cd0f5dac73e727fdcc0afec inherit pub_types_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">This statement declares the member m_features. See <a class="el" href="_flags_8h.html">Core/Flags.h</a> for details.  <br /></td></tr>
<tr class="separator:a015ecb970cd0f5dac73e727fdcc0afec inherit pub_types_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08e03b4eea2e069da19e0870fd205090 inherit pub_types_classshark_1_1_abstract_objective_function" id="r_a08e03b4eea2e069da19e0870fd205090"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_typed_feature_not_available_exception.html">TypedFeatureNotAvailableException</a>&lt; <a class="el" href="classshark_1_1_abstract_objective_function.html#aadafeb6dfb5b649f321e7b81ac8aad1a">Feature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a08e03b4eea2e069da19e0870fd205090">FeatureNotAvailableException</a></td></tr>
<tr class="separator:a08e03b4eea2e069da19e0870fd205090 inherit pub_types_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa240c92f5dbf5a5ccdc245843a81a0e6" id="r_aa240c92f5dbf5a5ccdc245843a81a0e6"><td class="memTemplParams" colspan="2">template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class LabelType , class OutputType &gt; </td></tr>
<tr class="memitem:aa240c92f5dbf5a5ccdc245843a81a0e6"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classshark_1_1_error_function.html#aa240c92f5dbf5a5ccdc245843a81a0e6">ErrorFunction</a> (<a class="el" href="classshark_1_1_labeled_data.html">LabeledData</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, LabelType &gt; const &amp;dataset, <a class="el" href="classshark_1_1_abstract_model.html">AbstractModel</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, OutputType, <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> &gt; *model, <a class="el" href="classshark_1_1_abstract_loss.html">AbstractLoss</a>&lt; LabelType, OutputType &gt; *loss, bool useMiniBatches=false)</td></tr>
<tr class="separator:aa240c92f5dbf5a5ccdc245843a81a0e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53d7766a61d4ccf85d684bfe2d6e4585" id="r_a53d7766a61d4ccf85d684bfe2d6e4585"><td class="memTemplParams" colspan="2">template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class LabelType , class OutputType &gt; </td></tr>
<tr class="memitem:a53d7766a61d4ccf85d684bfe2d6e4585"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classshark_1_1_error_function.html#a53d7766a61d4ccf85d684bfe2d6e4585">ErrorFunction</a> (<a class="el" href="classshark_1_1_weighted_labeled_data.html">WeightedLabeledData</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, LabelType &gt; const &amp;dataset, <a class="el" href="classshark_1_1_abstract_model.html">AbstractModel</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, OutputType, <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> &gt; *model, <a class="el" href="classshark_1_1_abstract_loss.html">AbstractLoss</a>&lt; LabelType, OutputType &gt; *loss)</td></tr>
<tr class="separator:a53d7766a61d4ccf85d684bfe2d6e4585"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee0d9267985a8742305477a0701ca9bc" id="r_aee0d9267985a8742305477a0701ca9bc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_error_function.html#aee0d9267985a8742305477a0701ca9bc">ErrorFunction</a> (<a class="el" href="classshark_1_1_error_function.html">ErrorFunction</a> const &amp;op)</td></tr>
<tr class="separator:aee0d9267985a8742305477a0701ca9bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e4d6012adc12139b7757ed9b1933a76" id="r_a4e4d6012adc12139b7757ed9b1933a76"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_error_function.html">ErrorFunction</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_error_function.html#a4e4d6012adc12139b7757ed9b1933a76">operator=</a> (<a class="el" href="classshark_1_1_error_function.html">ErrorFunction</a> const &amp;op)</td></tr>
<tr class="separator:a4e4d6012adc12139b7757ed9b1933a76"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abecfa779a288d737e93be61cb6bc068d" id="r_abecfa779a288d737e93be61cb6bc068d"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_error_function.html#abecfa779a288d737e93be61cb6bc068d">name</a> () const</td></tr>
<tr class="memdesc:abecfa779a288d737e93be61cb6bc068d"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns the name of the object  <br /></td></tr>
<tr class="separator:abecfa779a288d737e93be61cb6bc068d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af786262cd69579e9b26d28de85b8fde9" id="r_af786262cd69579e9b26d28de85b8fde9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_error_function.html#af786262cd69579e9b26d28de85b8fde9">setRegularizer</a> (double factor, <a class="el" href="classshark_1_1_abstract_objective_function.html">FunctionType</a> *regularizer)</td></tr>
<tr class="separator:af786262cd69579e9b26d28de85b8fde9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:addeffd025bf0521615ba91883451a690" id="r_addeffd025bf0521615ba91883451a690"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_error_function.html#addeffd025bf0521615ba91883451a690">proposeStartingPoint</a> () const</td></tr>
<tr class="memdesc:addeffd025bf0521615ba91883451a690"><td class="mdescLeft">&#160;</td><td class="mdescRight">Proposes a starting point in the feasible search space of the function.  <br /></td></tr>
<tr class="separator:addeffd025bf0521615ba91883451a690"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a398ed5c2c9bb868a8d45e068c5bd245b" id="r_a398ed5c2c9bb868a8d45e068c5bd245b"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_error_function.html#a398ed5c2c9bb868a8d45e068c5bd245b">numberOfVariables</a> () const</td></tr>
<tr class="memdesc:a398ed5c2c9bb868a8d45e068c5bd245b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Accesses the number of variables.  <br /></td></tr>
<tr class="separator:a398ed5c2c9bb868a8d45e068c5bd245b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ba22ddebbfc72a20503c9089e59abe8" id="r_a6ba22ddebbfc72a20503c9089e59abe8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_error_function.html#a6ba22ddebbfc72a20503c9089e59abe8">init</a> ()</td></tr>
<tr class="separator:a6ba22ddebbfc72a20503c9089e59abe8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23d586d7201fa0c9db910e2d935f7dfe" id="r_a23d586d7201fa0c9db910e2d935f7dfe"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_error_function.html#a23d586d7201fa0c9db910e2d935f7dfe">eval</a> (<a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> const &amp;input) const</td></tr>
<tr class="memdesc:a23d586d7201fa0c9db910e2d935f7dfe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Evaluates the objective function for the supplied argument.  <br /></td></tr>
<tr class="separator:a23d586d7201fa0c9db910e2d935f7dfe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a037354234ee0898c8a77339c1477d6" id="r_a4a037354234ee0898c8a77339c1477d6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_error_function.html#a3c50a0db21038a95f674d5f173806a8a">ResultType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_error_function.html#a4a037354234ee0898c8a77339c1477d6">evalDerivative</a> (<a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> const &amp;input, <a class="el" href="classshark_1_1_error_function.html#ab2e6af74d458dbac22f0b2fad6fadc4b">FirstOrderDerivative</a> &amp;derivative) const</td></tr>
<tr class="separator:a4a037354234ee0898c8a77339c1477d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_abstract_objective_function"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_abstract_objective_function')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_abstract_objective_function.html">shark::AbstractObjectiveFunction&lt; PointType, ResultT &gt;</a></td></tr>
<tr class="memitem:a755673593a64a978a91ac3398c390d4b inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a755673593a64a978a91ac3398c390d4b"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classshark_1_1_abstract_objective_function.html#a015ecb970cd0f5dac73e727fdcc0afec">Features</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a755673593a64a978a91ac3398c390d4b">features</a> () const</td></tr>
<tr class="separator:a755673593a64a978a91ac3398c390d4b inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f92098ce1e74c805f359b56893e78ed inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a7f92098ce1e74c805f359b56893e78ed"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a7f92098ce1e74c805f359b56893e78ed">updateFeatures</a> ()</td></tr>
<tr class="separator:a7f92098ce1e74c805f359b56893e78ed inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d4be77b4100781bbd7ca50bcf68c94f inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a7d4be77b4100781bbd7ca50bcf68c94f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a7d4be77b4100781bbd7ca50bcf68c94f">hasValue</a> () const</td></tr>
<tr class="memdesc:a7d4be77b4100781bbd7ca50bcf68c94f inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns whether this function can calculate it's function value  <br /></td></tr>
<tr class="separator:a7d4be77b4100781bbd7ca50bcf68c94f inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec3465e02d80e79445df299cf8531fcc inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_aec3465e02d80e79445df299cf8531fcc"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#aec3465e02d80e79445df299cf8531fcc">hasFirstDerivative</a> () const</td></tr>
<tr class="memdesc:aec3465e02d80e79445df299cf8531fcc inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns whether this function can calculate the first derivative  <br /></td></tr>
<tr class="separator:aec3465e02d80e79445df299cf8531fcc inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f5d2c0fa504de1e3b5a66363c826f08 inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a9f5d2c0fa504de1e3b5a66363c826f08"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a9f5d2c0fa504de1e3b5a66363c826f08">hasSecondDerivative</a> () const</td></tr>
<tr class="memdesc:a9f5d2c0fa504de1e3b5a66363c826f08 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns whether this function can calculate the second derivative  <br /></td></tr>
<tr class="separator:a9f5d2c0fa504de1e3b5a66363c826f08 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa190c3699e653df3f054b0b3d753270e inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_aa190c3699e653df3f054b0b3d753270e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#aa190c3699e653df3f054b0b3d753270e">canProposeStartingPoint</a> () const</td></tr>
<tr class="memdesc:aa190c3699e653df3f054b0b3d753270e inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns whether this function can propose a starting point.  <br /></td></tr>
<tr class="separator:aa190c3699e653df3f054b0b3d753270e inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a03eac74b7cac35c5d510ab12599393 inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a2a03eac74b7cac35c5d510ab12599393"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a2a03eac74b7cac35c5d510ab12599393">isConstrained</a> () const</td></tr>
<tr class="memdesc:a2a03eac74b7cac35c5d510ab12599393 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns whether this function can return  <br /></td></tr>
<tr class="separator:a2a03eac74b7cac35c5d510ab12599393 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d14fcc84cd963a1f6d9d7c8477bd3ee inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a8d14fcc84cd963a1f6d9d7c8477bd3ee"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a8d14fcc84cd963a1f6d9d7c8477bd3ee">hasConstraintHandler</a> () const</td></tr>
<tr class="memdesc:a8d14fcc84cd963a1f6d9d7c8477bd3ee inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns whether this function can return  <br /></td></tr>
<tr class="separator:a8d14fcc84cd963a1f6d9d7c8477bd3ee inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a499c48a9afe9e77e866af66c0cb4f396 inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a499c48a9afe9e77e866af66c0cb4f396"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a499c48a9afe9e77e866af66c0cb4f396">canProvideClosestFeasible</a> () const</td></tr>
<tr class="memdesc:a499c48a9afe9e77e866af66c0cb4f396 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether this function can calculate thee closest feasible to an infeasible point.  <br /></td></tr>
<tr class="separator:a499c48a9afe9e77e866af66c0cb4f396 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b418f50d0e284fe10c92a1c719d5615 inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a3b418f50d0e284fe10c92a1c719d5615"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a3b418f50d0e284fe10c92a1c719d5615">isThreadSafe</a> () const</td></tr>
<tr class="memdesc:a3b418f50d0e284fe10c92a1c719d5615 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true, when the function can be usd in parallel threads.  <br /></td></tr>
<tr class="separator:a3b418f50d0e284fe10c92a1c719d5615 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80a63b56c111cd7c65e5b264c9d84bac inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a80a63b56c111cd7c65e5b264c9d84bac"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a80a63b56c111cd7c65e5b264c9d84bac">isNoisy</a> () const</td></tr>
<tr class="memdesc:a80a63b56c111cd7c65e5b264c9d84bac inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true, when the function can be usd in parallel threads.  <br /></td></tr>
<tr class="separator:a80a63b56c111cd7c65e5b264c9d84bac inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f32ae97885db58f9602191d64284f98 inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a0f32ae97885db58f9602191d64284f98"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a0f32ae97885db58f9602191d64284f98">AbstractObjectiveFunction</a> ()</td></tr>
<tr class="memdesc:a0f32ae97885db58f9602191d64284f98 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default ctor.  <br /></td></tr>
<tr class="separator:a0f32ae97885db58f9602191d64284f98 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11cbdfb46ff9d34231248d8b847bd0ea inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a11cbdfb46ff9d34231248d8b847bd0ea"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a11cbdfb46ff9d34231248d8b847bd0ea">~AbstractObjectiveFunction</a> ()</td></tr>
<tr class="memdesc:a11cbdfb46ff9d34231248d8b847bd0ea inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual destructor.  <br /></td></tr>
<tr class="separator:a11cbdfb46ff9d34231248d8b847bd0ea inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a287178b5b0b97c71bbffc80086ff00 inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a3a287178b5b0b97c71bbffc80086ff00"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a3a287178b5b0b97c71bbffc80086ff00">setRng</a> (random::rng_type *rng)</td></tr>
<tr class="memdesc:a3a287178b5b0b97c71bbffc80086ff00 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the Rng used by the objective function.  <br /></td></tr>
<tr class="separator:a3a287178b5b0b97c71bbffc80086ff00 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24751b2fc6f327053938dc92ff01384a inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a24751b2fc6f327053938dc92ff01384a"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a24751b2fc6f327053938dc92ff01384a">hasScalableDimensionality</a> () const</td></tr>
<tr class="separator:a24751b2fc6f327053938dc92ff01384a inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4bdfc60abbe8548ba090bff096295b8f inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a4bdfc60abbe8548ba090bff096295b8f"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a4bdfc60abbe8548ba090bff096295b8f">setNumberOfVariables</a> (std::size_t <a class="el" href="classshark_1_1_abstract_objective_function.html#a256f6b128af038dfaf9cef1bcd45a426">numberOfVariables</a>)</td></tr>
<tr class="memdesc:a4bdfc60abbe8548ba090bff096295b8f inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adjusts the number of variables if the function is scalable.  <br /></td></tr>
<tr class="separator:a4bdfc60abbe8548ba090bff096295b8f inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa69ec2b8a4e968f30d7ac135af074012 inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_aa69ec2b8a4e968f30d7ac135af074012"><td class="memItemLeft" align="right" valign="top">virtual std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#aa69ec2b8a4e968f30d7ac135af074012">numberOfObjectives</a> () const</td></tr>
<tr class="separator:aa69ec2b8a4e968f30d7ac135af074012 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae58a543d7cccc6c66e3a7d8ce762fc01 inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_ae58a543d7cccc6c66e3a7d8ce762fc01"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#ae58a543d7cccc6c66e3a7d8ce762fc01">hasScalableObjectives</a> () const</td></tr>
<tr class="separator:ae58a543d7cccc6c66e3a7d8ce762fc01 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afcb3e45b19bba4130989d7ae37200900 inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_afcb3e45b19bba4130989d7ae37200900"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#afcb3e45b19bba4130989d7ae37200900">setNumberOfObjectives</a> (std::size_t <a class="el" href="classshark_1_1_abstract_objective_function.html#aa69ec2b8a4e968f30d7ac135af074012">numberOfObjectives</a>)</td></tr>
<tr class="memdesc:afcb3e45b19bba4130989d7ae37200900 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adjusts the number of objectives if the function is scalable.  <br /></td></tr>
<tr class="separator:afcb3e45b19bba4130989d7ae37200900 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afaa9cc39ccb4d74a0d6db0ae2d087051 inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_afaa9cc39ccb4d74a0d6db0ae2d087051"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#afaa9cc39ccb4d74a0d6db0ae2d087051">evaluationCounter</a> () const</td></tr>
<tr class="memdesc:afaa9cc39ccb4d74a0d6db0ae2d087051 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Accesses the evaluation counter of the function.  <br /></td></tr>
<tr class="separator:afaa9cc39ccb4d74a0d6db0ae2d087051 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a714edd6cc680adf04d5d12d7e845544f inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a714edd6cc680adf04d5d12d7e845544f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_constraint_handler.html">AbstractConstraintHandler</a>&lt; <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> &gt; const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a714edd6cc680adf04d5d12d7e845544f">getConstraintHandler</a> () const</td></tr>
<tr class="memdesc:a714edd6cc680adf04d5d12d7e845544f inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the constraint handler of the function if it has one.  <br /></td></tr>
<tr class="separator:a714edd6cc680adf04d5d12d7e845544f inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a152c45a40169bf31cead2b9169a5367c inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a152c45a40169bf31cead2b9169a5367c"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a152c45a40169bf31cead2b9169a5367c">isFeasible</a> (const <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> &amp;input) const</td></tr>
<tr class="memdesc:a152c45a40169bf31cead2b9169a5367c inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tests whether a point in SearchSpace is feasible, e.g., whether the constraints are fulfilled.  <br /></td></tr>
<tr class="separator:a152c45a40169bf31cead2b9169a5367c inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68b3dfe1642e13693b5ab610f3fc5f79 inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a68b3dfe1642e13693b5ab610f3fc5f79"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a68b3dfe1642e13693b5ab610f3fc5f79">closestFeasible</a> (<a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> &amp;input) const</td></tr>
<tr class="memdesc:a68b3dfe1642e13693b5ab610f3fc5f79 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">If supported, the supplied point is repaired such that it satisfies all of the function's constraints.  <br /></td></tr>
<tr class="separator:a68b3dfe1642e13693b5ab610f3fc5f79 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa79994e4b70d92fd30e62be20145ebd9 inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_aa79994e4b70d92fd30e62be20145ebd9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_objective_function.html#a70f0672a3c3b24c437c81243624b5307">ResultType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#aa79994e4b70d92fd30e62be20145ebd9">operator()</a> (<a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> const &amp;input) const</td></tr>
<tr class="memdesc:aa79994e4b70d92fd30e62be20145ebd9 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Evaluates the function. Useful together with STL-Algorithms like std::transform.  <br /></td></tr>
<tr class="separator:aa79994e4b70d92fd30e62be20145ebd9 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53df2ac5d82c608ea938dc1e3a0c0617 inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a53df2ac5d82c608ea938dc1e3a0c0617"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classshark_1_1_abstract_objective_function.html#a70f0672a3c3b24c437c81243624b5307">ResultType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a53df2ac5d82c608ea938dc1e3a0c0617">evalDerivative</a> (<a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> const &amp;input, <a class="el" href="classshark_1_1_abstract_objective_function.html#a29804371954a360f09696adea7cfd839">FirstOrderDerivative</a> &amp;derivative) const</td></tr>
<tr class="memdesc:a53df2ac5d82c608ea938dc1e3a0c0617 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Evaluates the objective function and calculates its gradient.  <br /></td></tr>
<tr class="separator:a53df2ac5d82c608ea938dc1e3a0c0617 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23274e2befc7530c8d63834e21a3fa78 inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a23274e2befc7530c8d63834e21a3fa78"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classshark_1_1_abstract_objective_function.html#a70f0672a3c3b24c437c81243624b5307">ResultType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a23274e2befc7530c8d63834e21a3fa78">evalDerivative</a> (<a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> const &amp;input, <a class="el" href="structshark_1_1_abstract_objective_function_1_1_second_order_derivative.html">SecondOrderDerivative</a> &amp;derivative) const</td></tr>
<tr class="memdesc:a23274e2befc7530c8d63834e21a3fa78 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Evaluates the objective function and calculates its gradient.  <br /></td></tr>
<tr class="separator:a23274e2befc7530c8d63834e21a3fa78 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_nameable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_nameable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_nameable.html">shark::INameable</a></td></tr>
<tr class="memitem:a877dbdfc6b58ea836495143cea44a98c inherit pub_methods_classshark_1_1_i_nameable" id="r_a877dbdfc6b58ea836495143cea44a98c"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_nameable.html#a877dbdfc6b58ea836495143cea44a98c">~INameable</a> ()</td></tr>
<tr class="separator:a877dbdfc6b58ea836495143cea44a98c inherit pub_methods_classshark_1_1_i_nameable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classshark_1_1_abstract_objective_function"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classshark_1_1_abstract_objective_function')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classshark_1_1_abstract_objective_function.html">shark::AbstractObjectiveFunction&lt; PointType, ResultT &gt;</a></td></tr>
<tr class="memitem:a2b1a8af419059a542cb3d0848dd278a2 inherit pro_methods_classshark_1_1_abstract_objective_function" id="r_a2b1a8af419059a542cb3d0848dd278a2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a2b1a8af419059a542cb3d0848dd278a2">announceConstraintHandler</a> (<a class="el" href="classshark_1_1_abstract_constraint_handler.html">AbstractConstraintHandler</a>&lt; <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> &gt; const *handler)</td></tr>
<tr class="memdesc:a2b1a8af419059a542cb3d0848dd278a2 inherit pro_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">helper function which is called to announce the presence of an constraint handler.  <br /></td></tr>
<tr class="separator:a2b1a8af419059a542cb3d0848dd278a2 inherit pro_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classshark_1_1_abstract_objective_function"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classshark_1_1_abstract_objective_function')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classshark_1_1_abstract_objective_function.html">shark::AbstractObjectiveFunction&lt; PointType, ResultT &gt;</a></td></tr>
<tr class="memitem:ad8888c58fd3f98e73013afb5dd4b2af1 inherit pro_attribs_classshark_1_1_abstract_objective_function" id="r_ad8888c58fd3f98e73013afb5dd4b2af1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_objective_function.html#a015ecb970cd0f5dac73e727fdcc0afec">Features</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#ad8888c58fd3f98e73013afb5dd4b2af1">m_features</a></td></tr>
<tr class="separator:ad8888c58fd3f98e73013afb5dd4b2af1 inherit pro_attribs_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0942c072be06d0dd4da5ee7067c5777 inherit pro_attribs_classshark_1_1_abstract_objective_function" id="r_af0942c072be06d0dd4da5ee7067c5777"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#af0942c072be06d0dd4da5ee7067c5777">m_evaluationCounter</a></td></tr>
<tr class="memdesc:af0942c072be06d0dd4da5ee7067c5777 inherit pro_attribs_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Evaluation counter, default value: 0.  <br /></td></tr>
<tr class="separator:af0942c072be06d0dd4da5ee7067c5777 inherit pro_attribs_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abcb65bca56cbfead4a3956e81d0d97d8 inherit pro_attribs_classshark_1_1_abstract_objective_function" id="r_abcb65bca56cbfead4a3956e81d0d97d8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_constraint_handler.html">AbstractConstraintHandler</a>&lt; <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> &gt; const  *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#abcb65bca56cbfead4a3956e81d0d97d8">m_constraintHandler</a></td></tr>
<tr class="separator:abcb65bca56cbfead4a3956e81d0d97d8 inherit pro_attribs_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a27bddca6060f7861c49b05f8ec8435 inherit pro_attribs_classshark_1_1_abstract_objective_function" id="r_a6a27bddca6060f7861c49b05f8ec8435"><td class="memItemLeft" align="right" valign="top">random::rng_type *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a6a27bddca6060f7861c49b05f8ec8435">mep_rng</a></td></tr>
<tr class="separator:a6a27bddca6060f7861c49b05f8ec8435 inherit pro_attribs_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;class <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> = RealVector&gt;<br />
class shark::ErrorFunction&lt; SearchPointType &gt;</div><p>Objective function for supervised learning. </p>
<dl class="section user"><dt></dt><dd>An <a class="el" href="classshark_1_1_error_function.html" title="Objective function for supervised learning.">ErrorFunction</a> object is an objective function for learning the parameters of a model from data by means of minimization of a cost function. The value of the objective function is the cost of the model predictions on the training data, given the targets. </dd></dl>
<dl class="section user"><dt></dt><dd>It supports mini-batch learning using an optional fourth argument to The constructor. With mini-batch learning enabled, each iteration a random batch is taken from the dataset. Thus the size of the minibatch is the size of the batches in the datasets. Normalization ensures that batches of different sizes have approximately the same magnitude of error and derivative.</dd></dl>
<dl class="section user"><dt></dt><dd>It automatically infers the input und label type from the given dataset and the output type of the model in the constructor and ensures that Model and loss match. Thus the user does not need to provide the types as template parameters. </dd></dl>

<p class="definition">Definition at line <a class="el" href="_error_function_8h_source.html#l00069">69</a> of file <a class="el" href="_error_function_8h_source.html">ErrorFunction.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="ab2e6af74d458dbac22f0b2fad6fadc4b" name="ab2e6af74d458dbac22f0b2fad6fadc4b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab2e6af74d458dbac22f0b2fad6fadc4b">&#9670;&#160;</a></span>FirstOrderDerivative</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a>  = RealVector&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_abstract_objective_function.html#a29804371954a360f09696adea7cfd839">FunctionType::FirstOrderDerivative</a> <a class="el" href="classshark_1_1_error_function.html">shark::ErrorFunction</a>&lt; <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> &gt;::FirstOrderDerivative</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_error_function_8h_source.html#l00075">75</a> of file <a class="el" href="_error_function_8h_source.html">ErrorFunction.h</a>.</p>

</div>
</div>
<a id="a3c50a0db21038a95f674d5f173806a8a" name="a3c50a0db21038a95f674d5f173806a8a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c50a0db21038a95f674d5f173806a8a">&#9670;&#160;</a></span>ResultType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a>  = RealVector&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_abstract_objective_function.html#a70f0672a3c3b24c437c81243624b5307">FunctionType::ResultType</a> <a class="el" href="classshark_1_1_error_function.html">shark::ErrorFunction</a>&lt; <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> &gt;::ResultType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_error_function_8h_source.html#l00074">74</a> of file <a class="el" href="_error_function_8h_source.html">ErrorFunction.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aa240c92f5dbf5a5ccdc245843a81a0e6" name="aa240c92f5dbf5a5ccdc245843a81a0e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa240c92f5dbf5a5ccdc245843a81a0e6">&#9670;&#160;</a></span>ErrorFunction() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a>  = RealVector&gt; </div>
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class LabelType , class OutputType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_error_function.html">shark::ErrorFunction</a>&lt; <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> &gt;::ErrorFunction </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_labeled_data.html">LabeledData</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, LabelType &gt; const &amp;&#160;</td>
          <td class="paramname"><em>dataset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_abstract_model.html">AbstractModel</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, OutputType, <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> &gt; *&#160;</td>
          <td class="paramname"><em>model</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_abstract_loss.html">AbstractLoss</a>&lt; LabelType, OutputType &gt; *&#160;</td>
          <td class="paramname"><em>loss</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>useMiniBatches</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_error_function_8h_source.html#l00078">78</a> of file <a class="el" href="_error_function_8h_source.html">ErrorFunction.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_objective_function.html#a755673593a64a978a91ac3398c390d4b">shark::AbstractObjectiveFunction&lt; PointType, ResultT &gt;::features()</a>, and <a class="el" href="classshark_1_1_abstract_objective_function.html#ad8888c58fd3f98e73013afb5dd4b2af1">shark::AbstractObjectiveFunction&lt; PointType, ResultT &gt;::m_features</a>.</p>

</div>
</div>
<a id="a53d7766a61d4ccf85d684bfe2d6e4585" name="a53d7766a61d4ccf85d684bfe2d6e4585"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a53d7766a61d4ccf85d684bfe2d6e4585">&#9670;&#160;</a></span>ErrorFunction() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a>  = RealVector&gt; </div>
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class LabelType , class OutputType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_error_function.html">shark::ErrorFunction</a>&lt; <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> &gt;::ErrorFunction </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_weighted_labeled_data.html">WeightedLabeledData</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, LabelType &gt; const &amp;&#160;</td>
          <td class="paramname"><em>dataset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_abstract_model.html">AbstractModel</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, OutputType, <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> &gt; *&#160;</td>
          <td class="paramname"><em>model</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_abstract_loss.html">AbstractLoss</a>&lt; LabelType, OutputType &gt; *&#160;</td>
          <td class="paramname"><em>loss</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_error_function_8h_source.html#l00090">90</a> of file <a class="el" href="_error_function_8h_source.html">ErrorFunction.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_objective_function.html#a755673593a64a978a91ac3398c390d4b">shark::AbstractObjectiveFunction&lt; PointType, ResultT &gt;::features()</a>, and <a class="el" href="classshark_1_1_abstract_objective_function.html#ad8888c58fd3f98e73013afb5dd4b2af1">shark::AbstractObjectiveFunction&lt; PointType, ResultT &gt;::m_features</a>.</p>

</div>
</div>
<a id="aee0d9267985a8742305477a0701ca9bc" name="aee0d9267985a8742305477a0701ca9bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aee0d9267985a8742305477a0701ca9bc">&#9670;&#160;</a></span>ErrorFunction() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_error_function.html">shark::ErrorFunction</a>&lt; <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> &gt;::ErrorFunction </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_error_function.html">ErrorFunction</a>&lt; <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> &gt; const &amp;&#160;</td>
          <td class="paramname"><em>op</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_error_function_8h_source.html#l00099">99</a> of file <a class="el" href="_error_function_8h_source.html">ErrorFunction.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_objective_function.html#a755673593a64a978a91ac3398c390d4b">shark::AbstractObjectiveFunction&lt; PointType, ResultT &gt;::features()</a>, and <a class="el" href="classshark_1_1_abstract_objective_function.html#ad8888c58fd3f98e73013afb5dd4b2af1">shark::AbstractObjectiveFunction&lt; PointType, ResultT &gt;::m_features</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a23d586d7201fa0c9db910e2d935f7dfe" name="a23d586d7201fa0c9db910e2d935f7dfe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a23d586d7201fa0c9db910e2d935f7dfe">&#9670;&#160;</a></span>eval()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="classshark_1_1_error_function.html">shark::ErrorFunction</a>&lt; <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> &gt;::eval </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> const &amp;&#160;</td>
          <td class="paramname"><em>input</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Evaluates the objective function for the supplied argument. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">input</td><td>The argument for which the function shall be evaluated. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The result of evaluating the function for the supplied argument. </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FeatureNotAvailableException</td><td>in the default implementation and if a function does not support this feature. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="classshark_1_1_abstract_objective_function.html#a751c175270f6d6f0bcc1200f333c0045">shark::AbstractObjectiveFunction&lt; PointType, ResultT &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_error_function_8h_source.html#l00130">130</a> of file <a class="el" href="_error_function_8h_source.html">ErrorFunction.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_objective_function.html#a751c175270f6d6f0bcc1200f333c0045">shark::AbstractObjectiveFunction&lt; PointType, ResultT &gt;::eval()</a>, <a class="el" href="classshark_1_1_error_function.html#a23d586d7201fa0c9db910e2d935f7dfe">shark::ErrorFunction&lt; SearchPointType &gt;::eval()</a>, and <a class="el" href="classshark_1_1_abstract_objective_function.html#af0942c072be06d0dd4da5ee7067c5777">shark::AbstractObjectiveFunction&lt; PointType, ResultT &gt;::m_evaluationCounter</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_error_function.html#a23d586d7201fa0c9db910e2d935f7dfe">shark::ErrorFunction&lt; SearchPointType &gt;::eval()</a>.</p>

</div>
</div>
<a id="a4a037354234ee0898c8a77339c1477d6" name="a4a037354234ee0898c8a77339c1477d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4a037354234ee0898c8a77339c1477d6">&#9670;&#160;</a></span>evalDerivative()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_error_function.html#a3c50a0db21038a95f674d5f173806a8a">ResultType</a> <a class="el" href="classshark_1_1_error_function.html">shark::ErrorFunction</a>&lt; <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> &gt;::evalDerivative </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> const &amp;&#160;</td>
          <td class="paramname"><em>input</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_error_function.html#ab2e6af74d458dbac22f0b2fad6fadc4b">FirstOrderDerivative</a> &amp;&#160;</td>
          <td class="paramname"><em>derivative</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_error_function_8h_source.html#l00137">137</a> of file <a class="el" href="_error_function_8h_source.html">ErrorFunction.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_objective_function.html#a53df2ac5d82c608ea938dc1e3a0c0617">shark::AbstractObjectiveFunction&lt; PointType, ResultT &gt;::evalDerivative()</a>, <a class="el" href="classshark_1_1_error_function.html#a4a037354234ee0898c8a77339c1477d6">shark::ErrorFunction&lt; SearchPointType &gt;::evalDerivative()</a>, and <a class="el" href="classshark_1_1_abstract_objective_function.html#af0942c072be06d0dd4da5ee7067c5777">shark::AbstractObjectiveFunction&lt; PointType, ResultT &gt;::m_evaluationCounter</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_error_function.html#a4a037354234ee0898c8a77339c1477d6">shark::ErrorFunction&lt; SearchPointType &gt;::evalDerivative()</a>.</p>

</div>
</div>
<a id="a6ba22ddebbfc72a20503c9089e59abe8" name="a6ba22ddebbfc72a20503c9089e59abe8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6ba22ddebbfc72a20503c9089e59abe8">&#9670;&#160;</a></span>init()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_error_function.html">shark::ErrorFunction</a>&lt; <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> &gt;::init </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reimplemented from <a class="el" href="classshark_1_1_abstract_objective_function.html#abe4776a85c4ce622c25f3290fa1395d1">shark::AbstractObjectiveFunction&lt; PointType, ResultT &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_error_function_8h_source.html#l00125">125</a> of file <a class="el" href="_error_function_8h_source.html">ErrorFunction.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_error_function.html#a6ba22ddebbfc72a20503c9089e59abe8">shark::ErrorFunction&lt; SearchPointType &gt;::init()</a>, and <a class="el" href="classshark_1_1_abstract_objective_function.html#a6a27bddca6060f7861c49b05f8ec8435">shark::AbstractObjectiveFunction&lt; PointType, ResultT &gt;::mep_rng</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_error_function.html#a6ba22ddebbfc72a20503c9089e59abe8">shark::ErrorFunction&lt; SearchPointType &gt;::init()</a>, <a class="el" href="_deep_network_training_r_b_m_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main()</a>, <a class="el" href="_f_f_n_n_basic_tutorial_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627">main()</a>, <a class="el" href="classshark_1_1_optimization_trainer.html#ab3cfafba31871515074323c20d501573">shark::OptimizationTrainer&lt; Model, LabelTypeT &gt;::train()</a>, and <a class="el" href="_c_v_folds_8cpp.html#a56b168be2277393c3cb5e6f917fc0831">trainProblem()</a>.</p>

</div>
</div>
<a id="abecfa779a288d737e93be61cb6bc068d" name="abecfa779a288d737e93be61cb6bc068d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abecfa779a288d737e93be61cb6bc068d">&#9670;&#160;</a></span>name()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string <a class="el" href="classshark_1_1_error_function.html">shark::ErrorFunction</a>&lt; <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> &gt;::name </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>returns the name of the object </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_nameable.html#a9893f99314de30cd472e649c235d0db4">shark::INameable</a>.</p>

<p class="definition">Definition at line <a class="el" href="_error_function_8h_source.html#l00110">110</a> of file <a class="el" href="_error_function_8h_source.html">ErrorFunction.h</a>.</p>

</div>
</div>
<a id="a398ed5c2c9bb868a8d45e068c5bd245b" name="a398ed5c2c9bb868a8d45e068c5bd245b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a398ed5c2c9bb868a8d45e068c5bd245b">&#9670;&#160;</a></span>numberOfVariables()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t <a class="el" href="classshark_1_1_error_function.html">shark::ErrorFunction</a>&lt; <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> &gt;::numberOfVariables </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Accesses the number of variables. </p>

<p>Implements <a class="el" href="classshark_1_1_abstract_objective_function.html#a256f6b128af038dfaf9cef1bcd45a426">shark::AbstractObjectiveFunction&lt; PointType, ResultT &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_error_function_8h_source.html#l00121">121</a> of file <a class="el" href="_error_function_8h_source.html">ErrorFunction.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_error_function.html#a398ed5c2c9bb868a8d45e068c5bd245b">shark::ErrorFunction&lt; SearchPointType &gt;::numberOfVariables()</a>.</p>

<p class="reference">Referenced by <a class="el" href="_deep_network_training_r_b_m_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main()</a>, <a class="el" href="_auto_encoder_tutorial_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627">main()</a>, and <a class="el" href="classshark_1_1_error_function.html#a398ed5c2c9bb868a8d45e068c5bd245b">shark::ErrorFunction&lt; SearchPointType &gt;::numberOfVariables()</a>.</p>

</div>
</div>
<a id="a4e4d6012adc12139b7757ed9b1933a76" name="a4e4d6012adc12139b7757ed9b1933a76"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e4d6012adc12139b7757ed9b1933a76">&#9670;&#160;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_error_function.html">ErrorFunction</a> &amp; <a class="el" href="classshark_1_1_error_function.html">shark::ErrorFunction</a>&lt; <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_error_function.html">ErrorFunction</a>&lt; <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> &gt; const &amp;&#160;</td>
          <td class="paramname"><em>op</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_error_function_8h_source.html#l00103">103</a> of file <a class="el" href="_error_function_8h_source.html">ErrorFunction.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_objective_function.html#ad8888c58fd3f98e73013afb5dd4b2af1">shark::AbstractObjectiveFunction&lt; PointType, ResultT &gt;::m_features</a>, and <a class="el" href="namespaceshark.html#a3fffe112e8e09ea8f41e4fb7113e93ee">shark::swap()</a>.</p>

</div>
</div>
<a id="addeffd025bf0521615ba91883451a690" name="addeffd025bf0521615ba91883451a690"></a>
<h2 class="memtitle"><span class="permalink"><a href="#addeffd025bf0521615ba91883451a690">&#9670;&#160;</a></span>proposeStartingPoint()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> <a class="el" href="classshark_1_1_error_function.html">shark::ErrorFunction</a>&lt; <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> &gt;::proposeStartingPoint </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Proposes a starting point in the feasible search space of the function. </p>
<dl class="section return"><dt>Returns</dt><dd>The generated starting point. </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">FeatureNotAvailableException</td><td>in the default implementation and if a function does not support this feature. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="classshark_1_1_abstract_objective_function.html#acd2922036a6388fde1173490079bb22b">shark::AbstractObjectiveFunction&lt; PointType, ResultT &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_error_function_8h_source.html#l00118">118</a> of file <a class="el" href="_error_function_8h_source.html">ErrorFunction.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_error_function.html#addeffd025bf0521615ba91883451a690">shark::ErrorFunction&lt; SearchPointType &gt;::proposeStartingPoint()</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_error_function.html#addeffd025bf0521615ba91883451a690">shark::ErrorFunction&lt; SearchPointType &gt;::proposeStartingPoint()</a>.</p>

</div>
</div>
<a id="af786262cd69579e9b26d28de85b8fde9" name="af786262cd69579e9b26d28de85b8fde9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af786262cd69579e9b26d28de85b8fde9">&#9670;&#160;</a></span>setRegularizer()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a>  = RealVector&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_error_function.html">shark::ErrorFunction</a>&lt; <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> &gt;::setRegularizer </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>factor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_abstract_objective_function.html">FunctionType</a> *&#160;</td>
          <td class="paramname"><em>regularizer</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_error_function_8h_source.html#l00113">113</a> of file <a class="el" href="_error_function_8h_source.html">ErrorFunction.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="_deep_network_training_r_b_m_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main()</a>, <a class="el" href="logistic__regression___l_b_f_g_s_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627">main()</a>, and <a class="el" href="_c_v_folds_8cpp.html#a56b168be2277393c3cb5e6f917fc0831">trainProblem()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/shark/ObjectiveFunctions/<a class="el" href="_error_function_8h_source.html">ErrorFunction.h</a></li>
</ul>
</div><!-- contents -->
</div>
</body>
</html>
